package com.devshephard.rpcframework.rpc.annotation;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

/**
 * Rpc代理类注解,标记了该注解的接口将会由Spring管理进行AOP代理,进行远程调用
 */
@Documented
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface RpcClientEndpoint {

    @AliasFor("name")
    String value() default "";

    @AliasFor("value")
    String name() default "";
}

